package com.example.springbootmpdemo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//表示是启动类
@SpringBootApplication
//添加这个注解，让springboot启动类去扫描这个路径下的mapper文件夹
@MapperScan("com.example.springbootmpdemo.mapper")
public class SpringBootMpDemoApplication {

    //在这里启动web项目之后，总之浏览器输入localhost:8080就可以进入static文件夹下的html页了！
    public static void main(String[] args) {
        SpringApplication.run(SpringBootMpDemoApplication.class, args);
    }

}
